export default {
    saveUser:function(data){
        localStorage.setItem("user",JSON.stringify(data));
    },
    getUser:function(){
        return JSON.parse(localStorage.getItem("user"))||{}
    },
    removeUser:function(){
        localStorage.removeItem("user")
    }
}